翻訳と辞書
Words near each other
・ Mazdoor Kisan Shakti Sangathan
・ Mazdoor Mukti Morcha
・ Mazdoor Zindabaad
・ Maze
・ Maze (band)
・ Maze (dance group)
・ Maze (disambiguation)
・ Maze (electoral ward)
・ Maze (film)
・ Maze (Kumi Koda song)
・ Maze (novel)
・ Maze (solitaire)
・ Maze (surname)
・ Maze Agency
・ Maze Featuring Frankie Beverly (album)
Maze generation algorithm
・ Maze Hill
・ Maze Hill railway station
・ Maze Jackson
・ Maze National Park
・ Maze of Games
・ Maze of Moonlight
・ Maze of the Riddling Minotaur
・ Maze Park Nature Reserve
・ Maze Prison escape
・ Maze procedure
・ Maze River
・ Maze River (Democratic Republic of the Congo)
・ Maze River (Japan)
・ Maze runner


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Maze generation algorithm : ウィキペディア英語版
Maze generation algorithm

Maze generation algorithms are automated methods for the creation of mazes.
== Graph theory based methods ==

A maze can be generated by starting with a predetermined arrangement of cells (most commonly a rectangular grid but other arrangements are possible) with wall sites between them. This predetermined arrangement can be considered as a connected graph with the edges representing possible wall sites and the nodes representing cells. The purpose of the maze generation algorithm can then be considered to be making a subgraph in which it is challenging to find a route between two particular nodes.
If the subgraph is not connected, then there are regions of the graph that are wasted because they do not contribute to the search space. If the graph contains loops, then there may be multiple paths between the chosen nodes. Because of this, maze generation is often approached as generating a random spanning tree. Loops which can confound naive maze solvers may be introduced by adding random edges to the result during the course of the algorithm.
The animation shows the maze generation steps for a
graph that is not on a rectangular grid.
First, the computer creates a random planar graph G
shown in blue, and its dual F
shown in yellow. Second, computer traverses F using a chosen
algorithm, such as a depth-first search, coloring the path red.
During the traversal, whenever a red edge crosses over a blue edge,
the blue edge is removed.
Finally, when all vertices of F have been visited, F is erased
and two edges from G, one for the entrance and one for the exit, are removed.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Maze generation algorithm」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.